Beyondwords\Wordpress\Core\Player\Player A

Total Complexity 56
Dependencies 7
Dependents 1
Total lines 596
Lines of code 239
Logical lines of code 130
Comment lines 261
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
usePlayerJsSdk()
A
53 9 24
playerHtml()
S
53 7 25
scriptLoaderTag()
S
46 6 40
convertLatestToLegacyParams()
S
52 7 25
jsPlayerParams()
S
53 6 22
isPlayerEnabled()
S
59 4 15
useAmpPlayer()
S
63 4 12
enqueueScripts()
S
58 3 16
hasCustomPlayer()
S
63 3 10
ampPlayerHtml()
S
54 1 26
autoPrependPlayer()
S
72 2 6
__construct()
S
69 1 6
registerShortcodes()
S
79 1 3
playerShortcode()
S
81 1 3
jsPlayerHtml()
S
70 1 6